Avoid creating trivial shadow nodes
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Oct 2017 20:10:46 +0000 (16:10 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 Oct 2017 20:10:46 +0000 (16:10 -0400)
commit598d22d194a51304277fb2eb174576aaa8185b7d
tree963f460d93d5c1c13ce4b6d1055ff93b000d0389
parent99d3d31314666b836be45d8adea1f17cee8d3cdd
Avoid creating trivial shadow nodes

The Vulkan renderer creates a fallback surface for each shadow
node, even if we end up not rendering anything to it. Avoiding
this is a nice optimization.
gtk/gtkcssshadowsvalue.c
gtk/gtkcssshadowsvalueprivate.h
gtk/gtkcssshadowvalue.c
gtk/gtkcssshadowvalueprivate.h
gtk/gtkrendericon.c
gtk/gtksnapshot.c